]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
BluetoothStatus: fix typo
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 6 Jan 2011 19:35:21 +0000 (20:35 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 6 Jan 2011 19:35:21 +0000 (20:35 +0100)
The function to hide a menu item is .actor.hide(), not just .hide()

js/ui/status/bluetooth.js

index 06e16e4b30d841d3608ca817dcbb3f43ffd454d0..afda1b474d4479de661f3889bbcf298ca533d4db 100644 (file)
@@ -276,7 +276,7 @@ Indicator.prototype = {
             if (this._hasDevices)
                 this._showAll(this._deviceItems);
             else
-                this._deviceSep.hide();
+                this._deviceSep.actor.hide();
         } else {
             this._hideAll(this._fullMenuItems);
             this._hideAll(this._deviceItems);